Package com.cisco.pt.ipc.sim.pdu.impl
Class RIPv6RoutePacketImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCDataImpl
com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
com.cisco.pt.ipc.sim.pdu.impl.PduImpl
com.cisco.pt.ipc.sim.pdu.impl.RIPv6RoutePacketImpl
- All Implemented Interfaces:
IPCData,Pdu,RIPv6RoutePacket,Signal
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Shortprotected IPV6Addressprotected booleanprotected intprotected IPV6Addressprotected Shortprotected IPV6AddressFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
fieldNames, fieldTable, signalType, typeTable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidencodeTypeAndPayload(EncodedBuffer buffer) getFieldType(String fieldName) booleanintvoidpduRead(EncodedBuffer buffer) voidread(EncodedBuffer buffer) Reads this object from an EncodedBuffer of raw datavoidsetAddressFamily(Short addressFamily) voidsetIpAddress(IPV6Address ipAddress) voidsetIsRedistributed(boolean isRedistributed) voidsetMetric(int metric) voidsetNextHop(IPV6Address nextHop) voidsetRouteTag(Short routeTag) voidsetSubnetMask(IPV6Address subnetMask) Methods inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
getFieldValueMethods inherited from class com.cisco.pt.ipc.impl.IPCDataImpl
checkType, pduReadBoolean, pduReadByte, pduReadDouble, pduReadFloat, pduReadInt, pduReadIPAddress, pduReadIPCData, pduReadIPV6Address, pduReadLong, pduReadMACAddress, pduReadPair, pduReadQString, pduReadShort, pduReadString, pduReadUUID, pduReadVector, readBoolean, readByte, readDouble, readFloat, readInt, readIPAddress, readIPCData, readIPV6Address, readLong, readMACAddress, readPair, readQString, readShort, readString, readUUID, readVectorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.sim.pdu.Signal
getFieldValue
-
Field Details
-
addressFamily
-
routeTag
-
ipAddress
-
subnetMask
-
nextHop
-
metric
protected int metric -
isRedistributed
protected boolean isRedistributed
-
-
Constructor Details
-
RIPv6RoutePacketImpl
public RIPv6RoutePacketImpl()
-
-
Method Details
-
getAddressFamily
- Specified by:
getAddressFamilyin interfaceRIPv6RoutePacket- Returns:
- Short Returns a Short
-
setAddressFamily
- Specified by:
setAddressFamilyin interfaceRIPv6RoutePacket- Parameters:
addressFamily- Takes in a parameter of addressFamily
-
getRouteTag
- Specified by:
getRouteTagin interfaceRIPv6RoutePacket- Returns:
- Short Returns a Short
-
setRouteTag
- Specified by:
setRouteTagin interfaceRIPv6RoutePacket- Parameters:
routeTag- Takes in a parameter of routeTag
-
getIpAddress
- Specified by:
getIpAddressin interfaceRIPv6RoutePacket- Returns:
- IPV6Address Returns a IPV6Address
-
setIpAddress
- Specified by:
setIpAddressin interfaceRIPv6RoutePacket- Parameters:
ipAddress- Takes in a parameter of ipAddress
-
getSubnetMask
- Specified by:
getSubnetMaskin interfaceRIPv6RoutePacket- Returns:
- IPV6Address Returns a IPV6Address
-
setSubnetMask
- Specified by:
setSubnetMaskin interfaceRIPv6RoutePacket- Parameters:
subnetMask- Takes in a parameter of subnetMask
-
getNextHop
- Specified by:
getNextHopin interfaceRIPv6RoutePacket- Returns:
- IPV6Address Returns a IPV6Address
-
setNextHop
- Specified by:
setNextHopin interfaceRIPv6RoutePacket- Parameters:
nextHop- Takes in a parameter of nextHop
-
getMetric
public int getMetric()- Specified by:
getMetricin interfaceRIPv6RoutePacket- Returns:
- int Returns a int
-
setMetric
public void setMetric(int metric) - Specified by:
setMetricin interfaceRIPv6RoutePacket- Parameters:
metric- Takes in a parameter of metric
-
getIsRedistributed
public boolean getIsRedistributed()- Specified by:
getIsRedistributedin interfaceRIPv6RoutePacket- Returns:
- boolean Returns a boolean
-
setIsRedistributed
public void setIsRedistributed(boolean isRedistributed) - Specified by:
setIsRedistributedin interfaceRIPv6RoutePacket- Parameters:
isRedistributed- Takes in a parameter of isRedistributed
-
getFieldType
- Overrides:
getFieldTypein classPduImpl
-
read
Reads this object from an EncodedBuffer of raw data -
pduRead
-
getOrderedFieldNames
- Specified by:
getOrderedFieldNamesin interfaceSignal- Overrides:
getOrderedFieldNamesin classPduImpl
-
encodeTypeAndPayload
- Specified by:
encodeTypeAndPayloadin interfaceSignal- Overrides:
encodeTypeAndPayloadin classPduImpl
-